package com.ruoyi.equipment.domain;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工具字典对象 t_tools
 *
 * @author ruoyi
 * @date 2021-12-29
 */
public class TTools extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 部门id
     */
    private Integer deptId;

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    /**
     * 工具id
     */
    private Integer toolId;

    /**
     * 品牌
     */
    @Excel(name = "品牌")
    private String brand;

    @Excel(name = "工具备注")
    private String remark;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Excels({
            @Excel(name = "部门名称", targetAttr = "deptName", type = Excel.Type.EXPORT),
            @Excel(name = "部门负责人", targetAttr = "leader", type = Excel.Type.EXPORT)
    })
    private SysDept sysDept;

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    /**
     * 填料
     */
    @Excel(name = "填料")
    private String padding;

    /**
     * 规格
     */
    @Excel(name = "规格")
    private String specification;

    /**
     * 耐压
     */
    @Excel(name = "耐压")
    private String withstandVoltage;

    /**
     * 最大流速
     */
    @Excel(name = "最大流速")
    private String maxFlowVelocity;

    /**
     * 温度范围
     */
    @Excel(name = "温度范围")
    private String temperatureScope;

    /**
     * ph范围
     */
    @Excel(name = "ph范围")
    private String phScope;

    public void setToolId(Integer toolId) {
        this.toolId = toolId;
    }

    public Integer getToolId() {
        return toolId;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getBrand() {
        return brand;
    }

    public void setPadding(String padding) {
        this.padding = padding;
    }

    public String getPadding() {
        return padding;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getSpecification() {
        return specification;
    }

    public void setWithstandVoltage(String withstandVoltage) {
        this.withstandVoltage = withstandVoltage;
    }

    public String getWithstandVoltage() {
        return withstandVoltage;
    }

    public void setMaxFlowVelocity(String maxFlowVelocity) {
        this.maxFlowVelocity = maxFlowVelocity;
    }

    public String getMaxFlowVelocity() {
        return maxFlowVelocity;
    }

    public void setTemperatureScope(String temperatureScope) {
        this.temperatureScope = temperatureScope;
    }

    public String getTemperatureScope() {
        return temperatureScope;
    }

    public void setPhScope(String phScope) {
        this.phScope = phScope;
    }

    public String getPhScope() {
        return phScope;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("toolId", getToolId())
                .append("deptId", getDeptId())
                .append("brand", getBrand())
                .append("padding", getPadding())
                .append("specification", getSpecification())
                .append("withstandVoltage", getWithstandVoltage())
                .append("maxFlowVelocity", getMaxFlowVelocity())
                .append("temperatureScope", getTemperatureScope())
                .append("phScope", getPhScope())
                .append("remark", getRemark())
                .toString();
    }
}
